package com.woniuxy.entity.house.dto;

import com.woniuxy.entity.house.Renthouse;
import com.woniuxy.entity.house.Secondhouse;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author liangyu
 * @since 2021-03-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class HouseTypeRentAndSecondDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private Integer bid;

    private String houseTypeImg;

    private Double houseArea;

    private String houseType;

    private String houseStructure;

    private String buildingType;

    private String buildingStructure;

    private Integer status;

    // 通过户型id去查该户型的租房
    private List<Renthouse> renthouses;
    // 通过户型id去查该户型的二手房
    private List<Secondhouse> secondhouses;
}
